package com.iven.xie.designpattern.builder;

/**
 * @author xiezhendong
 * @data 2021/7/30
 */
public abstract class Builder {
    /**
     * 装CPU
     */
    public abstract void buildCpu();

    /**
     * 装主板
     */
    public abstract void buildMainBoard();

    /**
     * 装硬盘
     */
    public abstract void buildHardDisk();

    /**
     * 获得组装好的电脑
     *
     * @return
     */
    public abstract Computer getComputer();
}
